Spread WinForms 15
GrapeCity.Spreadsheet Assembly / GrapeCity.Spreadsheet Namespace / SparseArray<T> Class / Contains Method
The object to locate in the SparseArray.


In This Topic
Contains Method (SparseArray<T>)
In This Topic
Determines whether the SparseArray contains a specific value.
Syntax
'Declaration
 
Public Function Contains( _
   ByVal item As T _
) As Boolean
 
'Usage
 
Dim instance As SparseArray(Of T)
Dim item As T
Dim value As Boolean
 
value = instance.Contains(item)

Parameters

item
The object to locate in the SparseArray.

Return Value

true if item is found in the; otherwise, false.
See Also